﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Exhb.ascx.cs" Inherits="controls_front_Exhb" %>

<div class="mod">
    <div class="tt">
        <h3>展会信息</h3><div class="more"><a href="~/exhibition.aspx" runat="server" target="_blank"><img id="Img1" src="~/images/but_more.gif" alt="更多" width="35" height="25" border="0" runat="server"/></a></div>
   </div>
   <div class="cc">
	<ul>
        <asp:Repeater ID="exhbList" runat="server" >
            <ItemTemplate>
                <li>
                    <asp:HyperLink NavigateUrl='<%# "~/exhibitionView.aspx?id="+Eval("id")%>' runat="server" ID="exhbLink" 
                        ToolTip='<%#"标题：" + Eval("Title") + "\n举办时间：" + Eval("StartDate") + "\n举办地点：" + Eval("Area")%>' Target="_blank">
                        <%# ((string)Eval("Title")).Length > 22 ? ((string)Eval("Title")).Substring(0,22)+"...": Eval("Title")%>
                    </asp:HyperLink>
                </li>
            </ItemTemplate>
        </asp:Repeater>	
	</ul>
    </div>
</div>
